package GUI;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.SWT;

//import commands.BasicAction;

/**Begins everything by calling for the main window to be created
 * @author Defeng
 *
 */
public class Launcher {
	
	public static void main(String[] args){	
	    Display display = new Display();
	    Shell shell = new Shell(display, SWT.TITLE | SWT.CLOSE | SWT.MIN);
	    shell.setBounds(250,120,0,0);
	    GUI win = new GUI(shell, SWT.NONE);
	    //win.pack();
	    shell.pack();
	    shell.open();

	    while(!shell.isDisposed()){
	        if(!display.readAndDispatch()) display.sleep();
	    }
	} 

}
